package com.java.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class TaskDTO implements Serializable {

    private static final long serialVersionUID = 5712367830031773930L;

    /**
     * 任务ID
     */
    private String taskId;

    /**
     * 申请时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    /**
     * 流程类型
     */
    private String flowType;

    /**
     * 流程关联的业务单据
     */
    private String businessKey;

    /**
     * 申请人
     */
    private String flowName;

    /**
     * 内容
     */
    private String flowContent;
}
